package com.villaday.idf.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by tudou on 2018/10/17.
 */

@Entity
public class V {
    @Id(autoincrement = true)
    private Long id;
    private String parent;
    private String name;
    private String vID;

    public V(Resources_filtersEntity.BodyEntity.VEntity data) {
        this.parent = data.getParent();
        this.name = data.getName();
        this.vID = data.getId();
    }

    @Generated(hash = 1778515960)
    public V(Long id, String parent, String name, String vID) {
        this.id = id;
        this.parent = parent;
        this.name = name;
        this.vID = vID;
    }

    @Generated(hash = 1038681699)
    public V() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getParent() {
        return this.parent;
    }

    public void setParent(String parent) {
        this.parent = parent;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getVID() {
        return this.vID;
    }

    public void setVID(String vID) {
        this.vID = vID;
    }



    

}
